package T11;

public class Test {
    public static void main(String[] args) {
        AptitudeHandSet aptitudeHandSet = new AptitudeHandSet("Mate40","华为");
        CommonHandSet commonHandSet = new CommonHandSet("N73","诺基亚");
        System.out.println("--------------普通手机--------------");
        System.out.println("这是一款型号为"+commonHandSet.getXh()+"的"+commonHandSet.getBand()
                +"的手机！");
        commonHandSet.sendInof();
        commonHandSet.call();
        commonHandSet.play("《东方红》");
        System.out.println("--------------智能手机--------------");
        System.out.println("这是一款型号为"+aptitudeHandSet.getXh()+"的"+aptitudeHandSet.getBand()
                +"的手机！");
        aptitudeHandSet.sendInof();
        aptitudeHandSet.call();
        aptitudeHandSet.networkConn();
        aptitudeHandSet.takePicture();
        aptitudeHandSet.play("《漂洋过海来看你》");
    }
}
